import IndexPage from "../pages/IndexPage";
// --------------
import Gzt from "../component/Wd/Gzt/Gzt";
import Grzl from "../component/Wd/Grzl/Grzl";
import Wdbm from "../component/Wd/Wdbm/Wdbm";
import Wdqx from "../component/Wd/Wdqx/Wdqx";
import Xgmm from "../component/Wd/Xgmm/Xgmm";
// --------------
import Fblp from "../component/Xf/Fblp/Fblp";
import Lpgl from "../component/Xf/Lpgl/Lpgl";
import Mfgj from "../component/Xf/Mfgj/Mfgl";
import Tyh from "../component/Xf/Tyh/Tyh";
import a from "../component/Xf/Zxdg/Zxdg";
// --------------
import Ddgl from "../component/Jy/Ddgl/Ddgl";
import Dxdd from "../component/Jy/Dxdd/Dxdd";
import Jstj from "../component/Jy/Jstj/Jstj";
import Tkgl from "../component/Jy/Tkgl/Tkgl";
// --------------
import Dxmb from "../component/Sz/Dxmb/Dxmb";
import Qxsz from "../component/Sz/Qxsz/Qxsz";
import Tksm from "../component/Sz/Tksm/Tksm";
import Yjmb from "../component/Sz/Yjmb/Yjmb";
import Yypz from "../component/Sz/Yypz/Yypz";
// --------------
import Hygl2 from "../component/HY/Hygl2"
import ZCHY from "../component/HY/ZCHY"
// -----
const {Zxdg} = a
export default [
  {
    path: "/",
    name: "系统主要入口",
    component: IndexPage,
    redirect: "/Main/Gzt",
    children: [
      {
        path: "/Main/Gzt",
        name: "工作台",
        component: Gzt,
      },
      {
        path: "/Main/Wdbm",
        name: "我的部门",
        component: Wdbm,
      },
      {
        path: "/Main/Wdqx",
        name: "我的权限",
        component: Wdqx,
      },
      {
        path: "/Main/Grzl",
        name: "个人资料",
        component: Grzl,
      },
      {
        path: "/Main/Xgmm",
        name: "修改密码",
        component: Xgmm,
      },
      {
        path: "/Main/Fblp",
        name: "发布楼盘",
        component: Fblp,
      },
      {
        path: "/Main/Lpgl",
        name: "楼盘管理",
        component: Lpgl,
      },
      {
        path: "/Main/Tyh",
        name: "淘优惠",
        component: Tyh,
      },
      {
        path: "/Main/Zxdg",
        name: "咨询导购",
        component: Zxdg,
      },
      {
        path: "/Main/Mfgj",
        name: "买房管家",
        component: Mfgj,
      },
      {
        path: "/Main/Ddgl",
        name: "订单管理",
        component: Ddgl,
      },
      {
        path: "/Main/Tkgl",
        name: "退款管理",
        component: Tkgl,
      },
      {
        path: "/Main/Jstj",
        name: "结算统计",
        component: Jstj,
      },
      {
        path: "/Main/Dxdd",
        name: "带下订单",
        component: Dxdd,
      },
      {
        path: "/Main/Qxsz",
        name: "权限设置",
        component: Qxsz,
      },
      {
        path: "/Main/Yypz",
        name: "运营配置",
        component: Yypz,
      },
      {
        path: "/Main/Yjmb",
        name: "邮件模板",
        component: Yjmb,
      },
      {
        path: "/Main/Dxmb",
        name: "短信模板",
        component: Dxmb,
      },
      {
        path: "/Main/Tksm",
        name: "条款/申明",
        component: Tksm,
      },
      {
        path :"/Main/ZCHY",
        name :"会员注册",
        component:ZCHY
      },

      {
        path :"/Main/Hygl2",
        name :"会员管理",
        component:Hygl2
      }
    ],
  },
];
